package org.example.dao.entity.user;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.example.skytool.commom.IconConstant;

import java.io.Serializable;
import java.util.Date;

/**
 * (UUser)实体类
 *
 * @author makejava
 * @since 2023-09-13 08:57:06
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UUser {

    private String openId;
    private Long defaultAddress;
    private String sign;
    
    private Long id;
    /**
     * 用户头像
     */
    private String icon = IconConstant.getIcon();

    /**
     * 昵称
     */
    private String nickName = "长理er";
    private String gender;

    private Date createTime = new Date();
    
    private Date lastLoginTime = new Date();

    private Date updateTime = new Date();
    /**
     * 逻辑删除
     */
    private Integer isValid = 1;

}

